package com.gator.desig_mode.builder;

/**
 * @author 何章怀晓 hezhanghuaixiao
 * @version V1.0
 * @ 抽象建造者
 */
public abstract class AbstractHouseBuilder {

  //产品
  House house = new House();

  //建造者模式
  //假设盖房子分三步 1.打地基 2.搭框架  3.封顶儿

  abstract void layingFoundation(String layingFoundation);


  abstract void frame(String frame);


  abstract void capping(String capping);


  //产品和创建产品的过程耦合
  House build() {

    return house;
  }

}


